<!-- eslint-disable vue/multi-word-component-names -->
<template>
    <div class="wrap">
        <div class="top">
            <img src="../../assets/images/home-header.png" alt="">
            <p class="top_p">河南牧彤养殖有限公司</p>
            <div class="top_left">
                <dv-decoration6 style="width:100%;height:100%;"/>
            </div>
            <div class="top_right">
                <dv-decoration6 :reverse="true" style="width:100%;height:100%;"/>
            </div>
            <div class="top_box">
                <TimeDisplay></TimeDisplay>
            </div>
        </div>
        <div class="box">
            <div class="left">
                <curveLeft></curveLeft>
            </div>
            <div class="middle">
                <curveMiddle></curveMiddle>
            </div>
            <div class="right">
                <curveRight></curveRight>
            </div>
        </div>
    </div>
</template>


<script lang="ts" setup>
import curveLeft from '../../components/Curve/curveLeft.vue';
import curveMiddle from '../../components/Curve/curveMiddle.vue';
import curveRight from '../../components/Curve/curveRight.vue';
import TimeDisplay from "../../components/Middle/currentTime.vue";


</script>

<style scoped>

.wrap {
    width: 100vw;
    height: 100vh;
    /* background-image: url(../../assets/images/bg.jpg);
    background-repeat: no-repeat;
    background-size: 100% 100%; */
    background: linear-gradient(to bottom,#00183e,#002d5b);
}

.top {
    width: 100vw;
    height: 10vh;
    position: relative;
}

.top img {
    width: 100%;
    height: 100%;
    /* background: #00183e; */
}

.top .top_p {
    position: absolute;
    width: 20vw;
    height: 5vh;
    text-align: center;
    font-size:calc(100vw * 32 / 1920);
    font-weight: bold;
    left: 39.5vw;
    top: 1vh;
    color: aqua;
    background: none;
}

.top_left {
    width: 15vw;
    height: 4vh;
    /* background: cornflowerblue; */
    position: absolute;
    left: 14vw;
    top: 4vh;
}

.top_left img {
    width: 100%;
    height: 100%;
}

.top_right {
    width: 15vw;
    height: 4vh;
    /* background: cornflowerblue; */
    position: absolute;
    top: 4vh;
    right: 14vw;
}

.top_right img {
    width: 100%;
    height: 100%;
    transform: rotate(-180deg);
}
.top_right img {
    width: 100%;
    height: 100%;
    transform: rotate(-180deg);
}

.top_box {
    position: absolute;
    right: 1vw;
    top: 5vh;
}

.box {
    width: 100vw;
    height: 90vh;
    /* background: pink; */
}

.box .left {
    width: 25vw;
    height: 90vh;
    /* background: aquamarine; */
    float: left;
    /* background: linear-gradient(to bottom,#00183e,#002d5b); */
}

.box .middle {
    width: 50vw;
    height: 90vh;
    /* background: yellow; */
    float: left;
    /* background: linear-gradient(to bottom,#00183e,#002d5b); */
}

.box .right {
    width: 25vw;
    height: 90vh;
    /* background: darkgreen; */
    float: right;
    /* background: linear-gradient(to bottom,#00183e,#002d5b); */
}



</style>